﻿using B.S.BasicData.Api.Read.Dtos;
using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.Api.Read.Application.Command.GridPerson
{
    /// <summary>
    /// 获取网格人员列表参数命令(协议)
    /// </summary>
    public class GetGridPersonCommand:IRequest<ApiPaging<AccountDto>>
    {
        /// <summary>
        /// 部门名称
        /// </summary>
        public string? DepartName {  get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string? RealName {  get; set; }
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; } = 2;
    }
}
